package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @Author: bowen
 * @Date: 2019/7/14 16:53
 * @Description:
 */
public interface SetmealDao {
	void add(Setmeal setmeal);
	void addRelationsBetweenCheckGroupAndSetmeal(Map map);
	Page<Setmeal> findPage(String queryString);

	List<Setmeal> findAllSetmeals();

	Setmeal findById(Integer id);

	Setmeal findByIdBetter(Integer id);

	List<Map> findSetmealCount();
}
